let comps = {};
// @ts-ignore
const modules: any = import.meta.globEager("./*.vue");

// 不是动态组件的vue文件
const whiteComVue = ["./form-item-wrapper.vue"];

for (const path in modules) {
  if (!whiteComVue.includes(path)) {
    let cname = modules[path].default.__name as string;
    comps[cname] = modules[path].default;
  }
}

export default comps;
